﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace WFA_BANHANG.HeThong
{
    public partial class frmLogin : Form
    {
        public frmLogin()
        {
            InitializeComponent();
            txtTenDangNhap.Focus();
        }

        //method for event dang nhap
        private void btnDangNhap_Click(object sender, EventArgs e)
        {
            this.Hide();

            frmMain fm = new frmMain();
            fm.Show();
            
        }

        //method for event thiet lap lai
        private void btnThietLapLai_Click(object sender, EventArgs e)
        {
            
        }

        //method for event thoat
        private void btnThoat_Click(object sender, EventArgs e)
        {
            Application.Exit();
        }

    }//the end class
}//the end namespace
